﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Data.SqlClient;

namespace Giao_dien_2.UserControl
{
    public partial class UC_ChucVu : DevExpress.XtraEditors.XtraUserControl
    {
        public UC_ChucVu()
        {
            InitializeComponent();
        }

        private void UC_ChucVu_Load(object sender, EventArgs e)
        {
            this.cHUCVUTableAdapter.Fill(dBGiaoNhanDataSet.CHUCVU); 
            
        }
        public void khoitaolaidulieu()
        {
            this.cHUCVUTableAdapter.Fill(dBGiaoNhanDataSet.CHUCVU);
        }
        public void ShowFormThemCV()
        {
            FormCT.FormThemChucVu formthemcv = new FormCT.FormThemChucVu();
            formthemcv.Show();
        }
        private void bar_them_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ShowFormThemCV();
        }


       


    }
}
